<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Mosaddek">
    <meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <link rel="shortcut icon" href="../../static/img/favicon.html">

    <title>注册页面</title>

    <!-- Bootstrap core CSS -->
    <link href="../../static/css/bootstrap.min.css" rel="stylesheet">
    <link href="../../static/css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="../../static/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <!-- Custom styles for this template -->
    <link href="../../static/css/style.css" rel="stylesheet">
    <link href="../../static/css/style-responsive.css" rel="stylesheet" />

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>

  <body class="login-body">

    <div class="container">

      <form class="form-signin" method="post" action="#">
          {% csrf_token %}
        <h2 class="form-signin-heading">三 创 教 育</h2>
        <div class="login-wrap">
{#            <input type="text" class="form-control" placeholder="User ID" autofocus>#}
{#            <input type="password" class="form-control" placeholder="密码">#}
            {{ form.email }}<br/>
            {{ form.username }}<br/>
            {{ form.password }}<br/>
            {{ form.password2 }}
            <button class="btn btn-lg btn-login btn-block" type="submit">注册</button>
        </div>
        {% if error %}
        <div class="alert alert-block alert-danger fade in">
          <button data-dismiss="alert" class="close close-sm" type="button">
              <i class="icon-remove"></i>
          </button>
          <strong>提醒!</strong>{{ error }}
        </div>
        {% endif %}
      </form>

    </div>
  </body>
</html>